import LotteryTest.*;

import java.io.IOException;

public class runCase {
    public static void main(String[] args) throws InterruptedException, IOException {
        InitAndEnd.init();
        //登录测试
        Login login = new Login();
        login.loginSuccess("15111111111","123456789");
        login.loginFailed("15111111111","123455789");
        login.loginError();
        //用户测试
        User user = new User();
        user.registerSuccess("王超","17770654022","131889482@qq.com");
        //奖品测试
        Prize prize = new Prize();
        prize.createPrizeSuccess("企鹅3","C:\\Users\\刘翼\\Pictures\\Saved Pictures\\OIP-C (1).jpg","87","企鹅玩偶");
        //活动测试
        Activity activity = new Activity();
        activity.checkActivityList();
        activity.checkWinnerList();
        activity.shareWinnerList();

    }
}
